<extend name="common:commonSimpleTemplate" />

<block name="main_content">
<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li><i class="icon-home home-icon"></i> <a href="#">首页</a> <span
				class="divider"> <i class="icon-angle-right arrow-icon"></i>
			</span></li>
			<li class="active">发票详情</li>
		</ul>
		<!--.breadcrumb-->

	</div>

	<div class="page-content">
		<div class="page-header position-relative">
			<h1>发票详情</h1>
		</div>
		<!--/.page-header-->

		<div class="row-fluid">
			<div class="span12">
				<div class="alert alert-block alert-success">
					订单编号：<a href="javascript:void(0);">{$order_invoice_en.order_id}</a>
				</div>
			</div>
			<div class="widget-body">


				<div class="slimScrollDiv">
					<div class="dialogs" style="overflow: hidden; width: auto;">

						<div class="itemdiv dialogdiv">

							<div class="body">
								<div class="time"></div>

								<div class="name"></div>
								<div class="text form-horizontal">
									<table>

										<tr>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">第三方订单编号：</label> <input type="text"  
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.third_order_id}">
												</div>
											</td>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">发票形式：</label><input type="text"
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_kind_text}">
												</div>
											</td>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">发票开付状态：</label> <input type="text"  
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_status_text}">
												</div>
											</td>
										</tr>
										<tr>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;发票类型：</label>
													<input type="text"
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_type}">
												</div>
											</td>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;发票抬头：</label><input
														type="text" id="invoiceTitle" 
														style="height: 20px; width: 150px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_name}">
														
												</div>
											</td>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;发票金额：</label><input
														type="text"
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_amount}">
												</div>
											</td>
										</tr>
										
										<tr>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总商品金额(不含税)：</label>
													<input type="text"
														style="height: 20px; width: 145px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.sum_price}">
												</div>
											</td>
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总税额：</label><input
														type="text" id="invoiceTitle" 
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.sum_tax}">
														
												</div>
											</td>
											
											<td>
												<div class="control-group">
													<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;发票申请时间：</label><input
														type="text" id="invoiceTitle" 
														style="height: 20px; width: 200px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_date}">
														
												</div>
											</td>
										</tr>
										
										<tr>
										<td colspan="3">	<div class="control-group">
										<label style="padding-top: 5px; float: left;"
														for="form-field-1">&nbsp;&nbsp;&nbsp;接口状态反馈（失败查询）：</label><input
														type="text"
														style="height: 20px; width: 800px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-top-color: #666666; border-right-color: #666666; border-bottom-color: #666666; border-left-color: #666666;"
														value="{$order_invoice_en.invoice_status_message}">
												</div>
											</td>
										</tr>
									</table>

								</div>
							</div>
						</div>

					</div>
				</div>






				<div class="biz_goods">
					<div class="table-header">订单详情</div>
					<div style="width: 95%; margin-left: 15px;">
						<table id="sample-table-2"
							class="table table-striped table-bordered table-hover">
							<thead>

								<tr>
									<th>发票名称</th>
									<th>含税总价</th>
									<th>单价（不含税）</th>
									<th>总价（不含税）</th>
									<th>含税单价</th>
									<th>数量</th>
									<th>税额</th>
									<th>税率</th>
									<th>单位</th>
									<th>型号</th>
								</tr>
							</thead>
							<tbody>

								<if condition="empty($lst_order_invoice_en_item)">
								<td colspan="3">暂时没有数据</td>
								<else /> <volist name="lst_order_invoice_en_item" id="details"
									empty="暂时没有数据">
								<tr>
									<td>{$details.item_name}</td>
									<td>{$details.invoice_amount}</td>
									<td>{$details.price}</td>
									<td>{$details.sum_price}</td>
									<td>{$details.amount}</td>
									<td>{$details.quantity}</td>
									<td>{$details.tax}</td>
									<td>{$details.tax_rate}</td>
									<td>{$details.unit}</td>
									<td>{$details.specification}</td>
								</tr>
								</volist> </if>
							</tbody>
						</table>
					</div>
				</div>


			</div>

		</div>
		<!--/.row-fluid-->

	</div>
	<!--/.page-content-->

</div>
<!--/.main-content--> </block>

<block name="inner_script"> <script
	src="/Public/assets/js/ace-elements.min.js"></script> <script
	src="/Public/assets/js/ace.min.js"></script> <script
	src="/Public/js/ajaxService.js"></script> <script
	src="/Public/js/project/common.js"></script>  
</block>